package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.alibaba.fastjson.annotation.JSONField;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_ExpenseSettlementItem", catalog="Id")
public class TcwExpenseSettlementItem extends BaseEntity<TcwExpenseSettlementItem> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Pbid", nameJava="pbid", typeDataBase="varchar")
	private String pbid;
	@YsField(nameDataBase="Vgsbmout", nameJava="vgsbmout", typeDataBase="varchar")
	private String vgsbmout;
	@YsField(nameDataBase="Vgsjcout", nameJava="vgsjcout", typeDataBase="varchar")
	private String vgsjcout;
	@YsField(nameDataBase="Vgsbmin", nameJava="vgsbmin", typeDataBase="varchar")
	private String vgsbmin;
	@YsField(nameDataBase="Vgsjcin", nameJava="vgsjcin", typeDataBase="varchar")
	private String vgsjcin;
	@YsField(nameDataBase="BaseInfoType", nameJava="baseInfoType", typeDataBase="varchar")
	private String baseInfoType;
	@YsField(nameDataBase="Amount", nameJava="amount", typeDataBase="decimal")
	private BigDecimal amount;
	@YsField(nameDataBase="Remark", nameJava="remark", typeDataBase="varchar")
	private String remark;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwExpenseSettlementItem setId(Long id) {
		this.id = id;
		return this;
	}
	public String getPbid() {
		return pbid;
	}
	public TcwExpenseSettlementItem setPbid(String pbid) {
		this.pbid = pbid;
		return this;
	}
	public String getVgsbmout() {
		return vgsbmout;
	}
	public TcwExpenseSettlementItem setVgsbmout(String vgsbmout) {
		this.vgsbmout = vgsbmout;
		return this;
	}
	public String getVgsjcout() {
		return vgsjcout;
	}
	public TcwExpenseSettlementItem setVgsjcout(String vgsjcout) {
		this.vgsjcout = vgsjcout;
		return this;
	}
	public String getVgsbmin() {
		return vgsbmin;
	}
	public TcwExpenseSettlementItem setVgsbmin(String vgsbmin) {
		this.vgsbmin = vgsbmin;
		return this;
	}
	public String getVgsjcin() {
		return vgsjcin;
	}
	public TcwExpenseSettlementItem setVgsjcin(String vgsjcin) {
		this.vgsjcin = vgsjcin;
		return this;
	}
	public String getBaseInfoType() {
		return baseInfoType;
	}
	public TcwExpenseSettlementItem setBaseInfoType(String baseInfoType) {
		this.baseInfoType = baseInfoType;
		return this;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public TcwExpenseSettlementItem setAmount(BigDecimal amount) {
		this.amount = amount;
		return this;
	}
	public String getRemark() {
		return remark;
	}
	public TcwExpenseSettlementItem setRemark(String remark) {
		this.remark = remark;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwExpenseSettlementItem setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwExpenseSettlementItem setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwExpenseSettlementItem setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwExpenseSettlementItem tcwExpenseSettlementItem(
		String pbid,
		String vgsbmout,
		String vgsjcout,
		String vgsbmin,
		String vgsjcin,
		String baseInfoType,
		BigDecimal amount,
		String remark,
		Integer status
			) {
		TcwExpenseSettlementItem entity = new TcwExpenseSettlementItem();
		entity.setPbid(pbid);
		entity.setVgsbmout(vgsbmout);
		entity.setVgsjcout(vgsjcout);
		entity.setVgsbmin(vgsbmin);
		entity.setVgsjcin(vgsjcin);
		entity.setBaseInfoType(baseInfoType);
		entity.setAmount(amount);
		entity.setRemark(remark);
		entity.setStatus(status);
		return entity;
	}
}